package com.qdu.service;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

import com.qdu.entity.Bussiness;
import com.qdu.entity.Manager;
import com.qdu.entity.Usert;

public interface ManagerService {

	public Manager login(String mid,String mpwd);
	
	public List<Usert> getAllUser();
	
	public List<Map<String,Object>> getAllBuss();
	
	public List<Bussiness> getUnreviewd();
	
	public List<Map<String,Object>> getJobList();
	
	public List<Map<String,Object>> getJobListByTime();
	
	public List<Map<String,Object>> getUnreviewedList();
	
	public int deleteUser(String uid);
	public int updateUserlevel(String uid);
	public int updateUserlevelEn(String uid);
	
	int disOneBuss(String bid);
	
	int agreeOneBuss(String bid);
	
	public int updateRolepwd(String upwd,String uid);
	
	public List<Map<String,Object>> getSearchList();
	
	public List<Map<String,Object>> getBussiness(String bname);
	
	public List<Map<String,Object>> getBussname();
	
	public List<Map<String,Object>> getBussbatchid();
	
	public List<Map<String,Object>> getHrList();
	
	public int deleteJob(BigInteger jid);
	
	public List<Map<String,Object>> getJobByBuss(int bid);
	
	int userstatus(String uid);

}
